<h1>Editing service</h1>

<% form_for @service do |f| %>
  <%= f.error_messages %>
  <label>hostname:</label>
  <%= f.text_field :hostname %><br />
  <label>Description:</label>
  <%= f.text_field :description %><br />
  <%= submit_tag %>
<% end %>

<%= link_to 'Show', @service %> |
<%= link_to 'Back', services_path %>
